package xyz.riceball.common.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 语种
 * </p>
 *
 * @author xiaovcloud
 * @since 2022/5/28 16:58
 */
@ApiModel("语言")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rb_language")
public class LanguagePO extends Model<LanguagePO> {

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "语言编码")
    private String code;

    @ApiModelProperty(value = "语言名字" )
    private String name;
}
